package cn.hejiang.mamis.access.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@ConfigurationProperties(prefix="oidc")
@Data
public class OidcProperties {
	private boolean enabled = false;

	private String authEndpoint;
	private String tokenEndpoint;
	private String userinfoEndpoint;
	private String endSessionEndpoint;
	private String clientId;
	private String clientSecret;
	private String initialAdminIdentity;
	private String externalUrl;
}
